package com.vca.service.service;

import com.vca.common.request.PaymentRequest;
import com.vca.common.response.PaymentPreOrderResponse;
import com.vca.common.response.UmsQueryResponse;
import com.vca.common.vo.MyRecord;

/**
 * @Description:支付API服务类
 * @author:chenbing
 * @date 2022/12/2 11:17
 */
public interface PaymentService {
    /**
     * @Description:支付预下单
     * @author:chenbing
     * @date 2022/12/2 13:09
     */
    PaymentPreOrderResponse preOrder(String language,PaymentRequest request, String ip);

    /**
     *@Description:查询支付结果
     *@author:chenbing
     *@date 2022/12/16 17:39
     */
    UmsQueryResponse queryStatus(String language,PaymentRequest request);

    Boolean close(PaymentRequest request);
}
